package org.example.forum.service;

import org.example.forum.model.User;

public interface IUserService {
    void createNormalUser(User user);
    User selectByUserName(String username);
    User selectById(Long Id);
    void modifyInfo(User user);

    void modifyPassword(Long id, String newpassword, String oldPassword);
    void subOneArticleCountById (Long id);
}
